package com.basics.modules.security.domain;

import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * @ClassName UserDto
 * @Author Geordie
 * @Date 2021/7/9 0009
 * @Annotation
 */
@Data
public class User implements Serializable {

    private Long id;

    private String username;

    private String nickName;

    private String sex;

    private String avatar;

    private String email;

    private String phone;

    private Boolean enabled;//账号是否被激活

    private String password;

    private Date lastPasswordResetTime;



    private Long deptId;

    private Timestamp createTime;
}
